/*
 * Module Name:
 *     fat12head.inc
 *
 * Abstract:
 *     This is the boot sector BPB information definition.
 *
 * Author:
 *     Josh Wu
 *     rainyfeeling@hotmail.com
 *     09.15.2008
 */
BS_OEM_NAME:            .ascii "JoshWu  "           # Must 8 bytes.
BPB_BytesPerSector:     .word  512                  # 512 bytes per sector.
BPB_SectorPerCluster:   .byte  1                    # 1 sector per cluster
BPB_ReservedSectorCnt:  .word  1                    # Reserved sector for boot sector.
BPB_NumFats:            .byte  2                    # Totally 2 Fats.
BPB_RootEntryCnt:       .word  224                  # Root directory only can have 224 files or directories.
BPB_TotalSector16:      .word  2880                 # Totally 2880 logic sectors.   2 side * 80 tracks * 18 sectors per track = 2880.
                                                    # If this word is 0, then BPB_TotalSectors32 indicates the total logic sectors.
BPB_Media:              .byte  0xF0                 
BPB_SectorPerFat16:     .word  9
BPB_SectorPerTrack:     .word  18                   # Sectors per track.  Every side of floppy disk has 80 tracks.
BPB_NumHeads:           .word  2                    # 2 heads, means 2 side.
BPB_HidenSectors:       .long  0
BPB_TotalSectors32:     .long  0                    # If BPB_TotalSector16 is 0, then use this 32bits one.

BS_DriverNum:           .byte  0                    # int 13h will use this as driver number.
BS_Reserved1:           .byte  0
BS_BootSign:            .byte  0x29
BS_VolumeId:            .long  0
BS_VolumeLabel:         .ascii "Tinix0.01  "        # Must 11 bytes.
BS_FileSystemType:      .ascii "FAT12   "           # Must 8 bytes.
